package com.omuao.cloud.stabilization.common.message.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 消息队列主题
 *
 * @author yumi
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MessageQueue {

    /**
     * Topic主题
     *
     * @return
     */
    String value() default "";
}
